package com.example.webserver.mapper;


import com.example.webserver.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Articlemapper {
    void Insert(Article article);
    List<Article> list(
            @Param("create_user")Integer create_user,  @Param("category_id") Integer category_id, @Param("state")String state);
    void update(Article article);
    void delete(Integer id);
}
